package org.dreamwork.jasmine2.sample.page;

import org.dreamwork.jasmine2.events.EventException;
import org.dreamwork.jasmine2.web.controls.Page;

/**
 * Created with IntelliJ IDEA.
 * User: seth.yang
 * Date: 13-10-8
 * Time: 下午3:33
 */
public class LayoutPage extends Page {
    @Override
    public void onPageLoadCompleted (Page page) throws EventException {
        try {
            dataBind ();
        } catch (Throwable throwable) {
            throwable.printStackTrace ();
            throw new EventException (throwable);
        }
    }
}